# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.

from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest


class ModifyDomainTempInstRequest(JDCloudRequest):
    """
    创建修改模板实例
    """

    def __init__(self, parameters, header=None, version="v1"):
        super(ModifyDomainTempInstRequest, self).__init__(
            '/domainTempInst', 'POST', header, version)
        self.parameters = parameters


class ModifyDomainTempInstParameters(object):

    def __init__(self,):
        """
        """

        self.tempId = None
        self.instId = None
        self.instName = None
        self.instProInfoMap = None

    def setTempId(self, tempId):
        """
        :param tempId: (Optional) 模板id，预留字段
        """
        self.tempId = tempId

    def setInstId(self, instId):
        """
        :param instId: (Optional) 模板实例id，修改时必传
        """
        self.instId = instId

    def setInstName(self, instName):
        """
        :param instName: (Optional) 模板实例名称
        """
        self.instName = instName

    def setInstProInfoMap(self, instProInfoMap):
        """
        :param instProInfoMap: (Optional) 查询结果,类型为Map<String,Map<String,Object>>
        """
        self.instProInfoMap = instProInfoMap

